package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author mengyb
 * @since 2019-04-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAS_T")
public class GwasT extends PO<GwasT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWASENT", type = IdType.INPUT)
    private String GWASENT;

    private String GWAS001;

    private String GWAS002;

    private String GWAS003;

    private String GWAS004;

    private String GWAS005;

    private String GWAS006;

    private String GWAS007;

    private String GWAS008;

    private String GWAS009;

    private String GWAS010;

    private String GWAS011;

    private String GWASACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWASUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWASGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWASMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWASTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWASDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWASORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWASORIU;



    @Override
    protected Serializable pkVal() {
        return this.GWASENT;
    }

}
